package framework.service;

import framework.bo.SysMenu;
import framework.util.queryFilter.service.IBaseService;
import framework.util.queryFilter.service.impl.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface SysMenuService extends IBaseService<SysMenu, Integer> {

    /**
     * 根据角色主键，获取树状菜单列表。如果该角色有菜单的权限，则sysMenus.getCheck==true。
     */
    List<SysMenu> listTreeFilterByRole(Map<String, String> requestMap);

    /**
     * 根据requestMap过滤获取sysMenu
     */
    List<SysMenu> list(Map<String, String> requestMap);
}
